package org.jsonstruts.utils;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public class HttpUtils
{
 private static HttpUtils utils=new HttpUtils();
 private HttpUtils(){}
 public static HttpUtils getInstance()
 {
	 return utils;
 }
 
 private HttpServletRequest request;
 private HttpServletResponse response;
 private HttpSession session;
 private ServletContext context;
 
 
 
public ServletContext getContext()
{
	return context;
}
public void setContext(ServletContext context)
{
	this.context = context;
}
public HttpSession getSession()
{
	return session;
}
public void setSession(HttpSession session)
{
	this.session = session;
}
public HttpServletRequest getRequest()
{
	return request;
}
public void setRequest(HttpServletRequest request)
{
	this.request = request;
}
public HttpServletResponse getResponse()
{
	return response;
}
public void setResponse(HttpServletResponse response)
{
	this.response = response;
}
 
 
 
}
